﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Gonte.Web" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: ViewData["Message"] %></h2>
    <p>
        Testing global resource classKey: AppResources, resourceKey: Name =&gt; 
        
        <%= HttpContext.GetGlobalResourceObject("AppResources", "Name") %>

        <br />

        Testing resource from javascript with an alert
        <script type="text/javascript">
            alert(app.lang.Name);
        </script>

    </p>
</asp:Content>
